package 第13周_哈希表和SQRT分解;

import 第1周_线性查找法.使用自定义类测试我们的算法.Student;

import java.util.HashMap;
import java.util.HashSet;

public class Main {
    public static void main(String[] args) {

        int a = 42;
        System.out.println(((Integer)a).hashCode());

        int b = -42;
        System.out.println(((Integer)b).hashCode());

        double c = 3.14159;
        System.out.println(((Double)c).hashCode());

        String d = "mooc";
        System.out.println(d.hashCode());

        HashSet<Student> set = new HashSet<>();
        set.add(new Student("bobo"));

        HashMap<Student, Integer> scores = new HashMap<>();


    }
}
